{{localTime}}
<form class="form-horizontal">
	<div {{bind-attr class=":alert alertType formTip::hide"}}><strong>{{formTip}}</strong></div>
	<div class="control-group">
		<label class="control-label"><i class="field-required">*</i>集群名称</label>
		<div class="controls">
			{{input class="input span6" value=form.name
				tooltip="仅用于显示，对于VMware来说，集群名称是在vCenter中定义好的名字"}}
		</div>
	</div>
	<div class="control-group">
		<label class="control-label"><i class="field-required">*</i>虚拟化类型</label>
		<div class="controls">
			{{view "select"
				class="span6"
				content=hypervisors
				optionLabelPath="content.displaytext"
				optionValuePath="content.value"
				value=form.hypervisor
				tooltip="集群下的主机运用的虚拟化技术，集群下的所有主机只能使用同一种虚拟化技术"}}
		</div>
	</div>
	<div class="control-group">
		<label class="control-label">Dedicate</label>
		<div class="controls">
			{{input type="checkbox" checked=form.isDedicate
				tooltip="如果勾选，可以设置集群只能应用于指定的资源域、账户。"}}
		</div>
	</div>
	<div class="control-group">
		<label class="control-label">时间</label>
		<div class="controls">
			{{view Broada.ui.Inputdate
				showTrigger=true
				date=form.date}}
		</div>
	</div>
	<div class="control-group">
		<label class="control-label">输入+下拉</label>
		<div class="controls">
			{{view Broada.ui.Combobox
				content=testArray
				value=form.aaa}}
		</div>
	</div>
	<div class="control-group">
		<div class="controls">
			<button class="btn btn-primary" {{action "save"}} {{bind-attr disabled="addDisabled"}}>保存</button>
			<button class="btn" {{action "cancel"}}>重置</button>
		</div>
	</div>
</form>